{if !empty($diyitem['data'])}
    <div class="fui-picture" style="padding-bottom: {$diyitem['style']['paddingtop']}px; background: {$diyitem['style']['background']};">
        {loop $diyitem['data'] $pictureitem}
        <a href="{$pictureitem['linkurl']}" style="display: block; padding: {$diyitem['style']['paddingtop']}px {$diyitem['style']['paddingleft']}px;" data-nocache="true">
            <img data-lazy="{php echo tomedia($pictureitem['imgurl'])}" />
        </a>
        {/loop}
    </div>
{/if}